/**
 * Copyright (c) 2005-2012 https://github.com/zhangkaitao
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 */
package com.tyf.common.dao.callback;

import com.tyf.common.domain.search.Searchable;

import javax.persistence.EntityManager;
import javax.persistence.Query;

/**
 * <p>User: Zhang Kaitao
 * <p>Date: 13-1-16 下午8:10
 * <p>Version: 1.0
 */
public final class NoneSearchCallback implements SearchCallback {

    @Override
    public void prepareQL(StringBuilder ql, Searchable search) {
    }

    @Override
    public void prepareOrder(StringBuilder ql, Searchable search) {
    }


    @Override
    public void setPageable(Query query, Searchable search) {
    }

	@Override
	public int setValues(Query query, Searchable search) {
		return 0;
	}

	@Override
	public void prepareDetailSearch(StringBuilder ql, Searchable search, EntityManager entityManager) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public int prepareSQL(StringBuilder sql, Searchable search) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public void prepareSQLOrder(StringBuilder sql, Searchable search) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public int setValuesForHibernateQ(org.hibernate.Query query, Searchable search) {
		// TODO Auto-generated method stub
		return 0;
	}
}
